import request from "@/utils/request"

// 获取首页政策数据
export const reqPolicyInfo = () => request.get<any,any>('/policy')

// 获取全部数据
export const reqAllPolicyInfo = (pageNo:number,pageSize:number) => request.get<any,any>(`/policy/info?pageNo=${pageNo}&pageSize=${pageSize}`)

// 根据id获取数据
export const reqPolicyInfoById = (id:any) => request.get<any,any>(`/policy/${id}`)